import logging
from appium.webdriver.webdriver import WebDriver


class BasePage:
    def __init__(self,driver:WebDriver = None):
        self.driver = driver

        #LOG_FORMAT = "%(asctime)s - %(levelname)s - %(message)s"
        DATE_FORMAT = "%m/%d/%Y %H:%M:%S %p"
        logging.basicConfig(filename='my.log', level=logging.DEBUG, datefmt=DATE_FORMAT)